package com.hds.modules.sys.entity.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 上传文件
 * @Function TODO
 * @date 2018年2月31日
 */
@ConfigurationProperties(prefix = "hds.uploadfile")
@Component
public class UploadFileConfig {
	 private Logger logger = LoggerFactory.getLogger(getClass());

	// 上传文件的最大尺寸
    private long maxSize;
    // 目前支持的文件格式"jpg","jpeg","png","gif"等
    private String[] suffixs;
    // 后台文件存储路径
    private String fileStoragePath;
    // 前端上传文件存储路径
	private String frontFileStoragePath;
	// 后台文件存储路径URL
    private String domainFile;
    // 文件库路径
    private String fileLibraryStoragePath;
	// 激活码Excel文件路径
	private String activateExcelPath;


    
    public long getMaxSize() {
		return maxSize;
	}
	public void setMaxSize(long maxSize) {
		this.maxSize = maxSize;
	}
	public String[] getSuffixs() {
		return suffixs;
	}
	public void setSuffixs(String[] suffixs) {
		this.suffixs = suffixs;
	}
	public String getFileStoragePath() {
		return fileStoragePath;
	}
	public void setFileStoragePath(String fileStoragePath) {
		this.fileStoragePath = fileStoragePath;
	}
	public String getFileLibraryStoragePath() {
		return fileLibraryStoragePath;
	}
	public void setFileLibraryStoragePath(String fileLibraryStoragePath) {
		this.fileLibraryStoragePath = fileLibraryStoragePath;
	}

	public String getFrontFileStoragePath() {
		return frontFileStoragePath;
	}

	public void setFrontFileStoragePath(String frontFileStoragePath) {
		this.frontFileStoragePath = frontFileStoragePath;
	}

	public String getDomainFile() {
		return domainFile;
	}

	public void setDomainFile(String domainFile) {
		this.domainFile = domainFile;
	}

	public String getActivateExcelPath() {
		return activateExcelPath;
	}

	public void setActivateExcelPath(String activateExcelPath) {
		this.activateExcelPath = activateExcelPath;
	}
}
